{config_load file="lang/$language/lang_$language.conf" section="boxes"}
{if $deny_cart neq 'true'}
	{if $empty=='false'}
		{include file="$html_tpl_path/box_top.html" name=shopping_cart class=shopping_cart}
			<div class="box_content mouse_cart" id="cart_content">
				<div class="cart_total">
					<span class="cart_icon"></span>
					<span class="cart_details">
						{$ARTICLE} <b>{$TOTAL_PRODUCTS}</b><br />
						<b>{$TOTAL}</b>{if $UST}*{/if}<br />
						<a href="{$LINK_CART}" title="{#to_cart#}">
							{#to_cart#}
						</a>
					</span>
				</div>
				<div class="clearfix"></div>
				<div class="cart_hide dn">
					<h3>{$LAST}</h3>
					<div class="cart_bg">
						<table width="100%">
						<tr>
							<th>&nbsp;</th>
							<th class="al">{$ARTICLE}</th>
							<th>{$COUNT}</th>
							<th class="ar">{$TOTAL_PRICE}</th>
						</tr>
						{foreach name=aussen item=products_data from=$products}
							<tr id="cp_{$products_data.ID}" class="shopping_cart_content bts">
								<td>
									{$products_data.IMAGE}
								</td>
								<td class="w48p">
									<a href="{$products_data.LINK}" title="{$products_data.NAME}">
										{$products_data.NAME|truncate:20:"...":true}
									</a>
								</td>
								<td class="ac">
									{$products_data.QTY}
								</td>
								<td class="ar">
									{$products_data.PRICE}
								</td>
							</tr>
						{/foreach}
						</table>
						{if $DISCOUNT}
							<div class="ar" class="productDiscountPrice">
								{#text_discount#} {$DISCOUNT}
							</div>
						{/if}
						<div class="cart_detail_cart ar fwb">{$SUBTOTAL} {$TOTAL}</div>
						{if $UST}<div class="cart_tax ar fs85">*{$UST}</div>{/if}
						{if $SHIPPING_INFO}<div class="cart_shipping ar fs85">{$SHIPPING_INFO}</div>{/if}
					</div>
				</div>
			</div>
		{include file="$html_tpl_path/box_bottom.html"}
	{else}
		{include file="$html_tpl_path/box_top.html" name=shopping_cart class=shopping_cart}
			<div class="box_content" id="cart_content">
				<div class="cart_total">
					<span class="cart_icon"></span>
					<span class="cart_details">
						{$ARTICLE}: <b>0</b><br />
						<b>0 {$CUR}</b>{if $UST}*{/if}
					</span>
				</div>
			</div>
		{include file="$html_tpl_path/box_bottom.html"}
	{/if}
{/if}